package com.codi.bus.core.service;

import com.codi.bus.core.domain.FundWarehouseTransfer;
import com.codi.bus.core.resultModel.FundWarehouseTransferResult;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface FundWarehouseTransferService {
    Page<FundWarehouseTransfer> queryByPage(Pageable pageable);

    int addFundWarehouseTransfer(FundWarehouseTransfer transfer);

    FundWarehouseTransfer selectOne(Long wareHouseId);

    int deleteByKey(Long wareHouseId);

    int updateOne(FundWarehouseTransfer transfer);

    List<FundWarehouseTransferResult> queryTransfers(String combinationCode);

    FundWarehouseTransferResult queryRencentTransfer(String combinationCode);
}
